<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<TITLE>报表设置</TITLE>
<script type="text/javascript" language="JavaScript" src="common_report.js"></script>
<script type="text/javascript" src="../crosstab.js"></script>
<script type="text/javascript" src="../crosstabconf.js"></script>
<script type="text/javascript" language="JavaScript" src="../core/mootools.js"></script>
<script type="text/javascript" language="JavaScript">
	var conf;
	function load(){
		var idx = getPara("idx");
		var data = Common.getOpener()._crosstabData;
		if (idx)
			data = data[idx];
		conf = new CrosstabConfig("conf_div",data.initColumns);
		conf.currentHorizon = data.currentHorizon;
		conf.currentVertical = data.currentVertical;
		conf.currentMeasure = data.currentMeasure;
		
		conf.showTable();
	}
	function onSave(){
		var data;
		try{
			data = conf.getParams();
		}catch(e){showWarning(e.description?e.description:e);return;}
		if (!data) return;	
		dialogBackValue(data);
	}
	</script>
	<style>
	
/**统计表定制**/
.colOut{
}
.colOver{
	cursor:pointer;
}
.nulltext{
	width : 120px;
	height : 16px;
	font-size : 14px;
}
.listNode{
	width : 120px;
	height : 16px;
	font-size : 12px;
	padding-top : 4px;
	padding-left : 2px;
	border : 1px solid #CCCCCC;
	background : #FFFFCC;
	float:left;
}
.selFont{
	font-size : 12px;
	font-weight:bolder;
}
.confLayer {
	position:absolute;
	display:block;
	background:#efefef;
	z-index:2;
	font-size:12px;
	text-align:center;
}
.optionLayer {
	position:absolute;
	background:#efefef;
	z-index:2;
	font-size:12px;
	border:1px solid #000000;
	width:80px;
}
.flagLayer{
	position:absolute;
	background:#000000;
	z-index:2;
}
.viewframe {
	width:80px;
	height : 16px;
	padding-top : 2px;
	border : 1px dotted green;
}
.layerin {
	background : #CBE2FF;
}
.layerout {
	background : none;
}
.titleClass{
	text-align : center;
	font-size:14px;
	font-weight:bold;
}
.verticalTd{
}
.horizonTd{
}
.measureTd{
}
.up_yes{
	padding-left:20px;
	background:url(images/drop-yes.gif) no-repeat 1px 1px;
}
.up_no{
	padding-left:20px;
	background:url(images/drop-no.gif) no-repeat 1px 1px;
}
	</style>
	</HEAD>
<BODY class="body" onload='load()'>
	<div id="conf_div">
	</div>
</BODY>
</HTML>
